$(document).ready(function(){
		$.ajax({	
			type:"post",
		    url:"/engine/pie",
			success:function(data){
				var myChart=new FusionCharts("/chart/Pie2D.swf","myChartId","420","310","0","1");
				myChart.setDataXML(data);
				myChart.render("piediv");			
			}
	   });
	   
	   $.ajax({	
			type:"post",
		    url:"/engine/msLine",
			success:function(data){
			    var myChart=new FusionCharts("/chart/MSLine.swf","myChartId","300","150");
			    myChart.setDataXML(data);
			    myChart.render("msLinediv");		
			}
	   });
	   
	  $.ajax({	
			type:"post",
		    url:"/engine/stackedArea",
			success:function(data){
			    var myChart=new FusionCharts("/chart/StackedArea2D.swf","myChartId","300","150");
				myChart.setDataXML(data);
				myChart.render("stackedAreadiv");		
			}
	   });
	
 });